#ifndef __OSAL_H
#define __OSAL_H

#include "HAL.h"
#include "OSAL_TIMER.h"
#include "OSAL_debug.h"
#include "OSAL_MEM.h"



#define OSAL_MSG_EVENT 0x8000
#define TASK_INVALID_ID -1
extern int activeTask;

void OSAL_InitSystem(void);
void OSAL_SystemRunning(void);
void OSAL_InitTasks(void);
void OSAL_SetEvent(uint8_t taskID, uint16_t event);



#endif



